package com.yfp.operation.service.impl;

import com.yfp.operation.domain.WxGroupConfig;
import com.yfp.operation.mapper.WxGroupConfigMapper;
import com.yfp.operation.service.WxGroupConfigService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 微信群配置
 *
 * @CreateDate: 2024/7/6 15:33
 * @UpdateUser:
 * @UpdateDate: 2024/7/6 15:33
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Service
public class WxGroupConfigServiceImpl implements WxGroupConfigService {
    @Resource
    private WxGroupConfigMapper wxGroupConfigMapper;

    @Override
    public WxGroupConfig getById(String id) {
        return wxGroupConfigMapper.getById(id);
    }

    @Override
    public List<WxGroupConfig> findList(WxGroupConfig wxGroupConfig) {
        return wxGroupConfigMapper.findList(wxGroupConfig);
    }

    @Override
    public void add(WxGroupConfig wxGroupConfig) {
        wxGroupConfigMapper.add(wxGroupConfig);
    }

    @Override
    public void edit(WxGroupConfig wxGroupConfig) {
        wxGroupConfigMapper.edit(wxGroupConfig);
    }
}